home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / Sample Code / CALib & You… / Source / CALib / Headers / CAHeaders.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-07  |  1.1 KB  |  40 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        CAHeaders.h
  3.  
  4.     Contains:    Global definitions (defined in makefile in MPW)
  5.  
  6.     Written by:    Jens Alfke & David H Nelson
  7.  
  8.     Copyright:    © 1994-1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>     2/28/95    SJF        first checked in
  13.          <1>      2/2/95    DHN        Created from ODCWDefines.h
  14.          ---------------------------------------------------------------------
  15.          <4>    10/24/94    jpa        Define SOMMethodDebug for nondebug builds
  16.                                     [1188344] and turn off mw_bug for CW4.5.
  17.          <3>     9/29/94    RA        1189812: Mods for 68K build.
  18.          <2>     8/10/94    NP        1179997-Add defines from ODCWump.cpp to
  19.                                     here.
  20.          <1>     6/21/94    jpa        first checked in
  21.     To Do:
  22. */
  23.  
  24.  
  25. #define ODDebug                    1
  26. #define _PLATFORM_MACINTOSH_    1
  27.  
  28. #define ppcinterfaces            // GX headers want this, if using universal headers
  29.  
  30. #ifdef __MWERKS__
  31.     //#define mw_bug 1            // Needed with CW4, not with CW4.5
  32.     //#pragma warning_errors on    // Treat warnings as errors (heh heh heh)
  33. #endif
  34.  
  35. //#define _NATIVE_EXCEPTIONS_        1
  36.  
  37. #if !ODDebug
  38.     #define SOMMethodDebug(c,m)    /**/    // Disable SOM trace macro in every method
  39. #endif
  40.